﻿<phone:PhoneApplicationPage 
    x:Class="girapong.rally"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Landscape" Orientation="Landscape"
    mc:Ignorable="d" d:DesignHeight="480" d:DesignWidth="728"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot es la cuadrícula raíz donde se coloca todo el contenido de la página-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="271*"/>
            <RowDefinition Height="164*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contiene el nombre de la aplicación y el título de la página-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28"></StackPanel>

        <!--ContentPanel. Colocar aquí el contenido adicional-->
        <Grid x:Name="ContentPanel" Margin="-10,0,-1,0" Grid.RowSpan="3">
            <Button Content="{Binding Path=MyLocalizedResx.savescore, Source={StaticResource LocalizedResx}}" Height="104" HorizontalAlignment="Left" Margin="198,153,0,0" Name="btnGuardarPuntuacion" VerticalAlignment="Top" Width="352" BorderBrush="{x:Null}" Background="#FFCB1F1F" Click="btnNuevoPeloteo_Click"></Button>
            <Button Content="{Binding Path=MyLocalizedResx.comeback, Source={StaticResource LocalizedResx}}" Height="99" HorizontalAlignment="Left" Margin="198,263,0,0" Name="btnVolver" VerticalAlignment="Top" Width="352" BorderBrush="{x:Null}" Background="#FF1850CE" Click="btnVolver_Click"></Button>
            <TextBlock Height="96" HorizontalAlignment="Left" Margin="348,51,0,0" Name="txtPuntuacionPeloteo" Text="0" VerticalAlignment="Top" Width="119" FontSize="72" />
            <Rectangle Fill="#FF22EF22" Height="497" HorizontalAlignment="Left" Margin="726,0,0,0" Name="barraDcha" Stroke="{x:Null}" StrokeThickness="1" VerticalAlignment="Top" Width="13" />
            <Rectangle Height="14" HorizontalAlignment="Left" Name="barraArriba" Stroke="{x:Null}" StrokeThickness="1" VerticalAlignment="Top" Width="733" Fill="#FF41E21A"></Rectangle>
            <Image Height="37" HorizontalAlignment="Left" Margin="614,23,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="43" Source="/girapong;component/corazon.png" />
            <TextBlock Height="37" HorizontalAlignment="Left" Margin="663,23,0,0" Name="txtVidas" Text="" VerticalAlignment="Top" Width="41" />
            <TextBlock  Height="33" HorizontalAlignment="Left" Margin="467,23,0,0" Name="txtSiguienteVida" Text="" VerticalAlignment="Top" Width="36" />
            <TextBlock Height="30" HorizontalAlignment="Left" Margin="511,26,0,0" Name="textBlock1" Text="para" VerticalAlignment="Top" />
            <Image Height="20" HorizontalAlignment="Left" Margin="553,35,0,0" Name="image2" Source="/girapong;component/corazon.png" Stretch="Fill" VerticalAlignment="Top" Width="21" />
            <Rectangle Height="34" HorizontalAlignment="Left" Margin="591,26,0,0" Name="rectangle1" Stroke="Black" StrokeThickness="1" VerticalAlignment="Top" Width="3" Fill="#FF268D2E"></Rectangle>

        </Grid>
        <Rectangle Height="480" HorizontalAlignment="Left" Margin="-10,0,0,0" Name="barraIzq" Stroke="{x:Null}" StrokeThickness="1" VerticalAlignment="Top" Width="17" Fill="#FF22EF22" Grid.RowSpan="3" />
    </Grid>
 
    <!--Código de ejemplo que muestra el uso de ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Botón 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Botón 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 1"/>
                <shell:ApplicationBarMenuItem Text="Elemento de menú 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>
